x86/shadow: Use more appropriate conversion functions
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 20 Jul 2018 16:57:24 +0000 (16:57 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 28 Aug 2018 17:42:17 +0000 (18:42 +0100)
commit193cf68779941187d39da1e3645b465bb9eb157a
tree7d4dbf6185a097b5f25d5e04afe404335afeb95b
parent3f56004f890ced1ddf7c861910ef8e7783764476
x86/shadow: Use more appropriate conversion functions

Replace pfn_to_paddr(mfn_x(...)) with mfn_to_maddr(), and replace an opencoded
gfn_to_gaddr().

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/shadow/multi.c